package com.panfeng.xcloud.boss.provider.assets.web.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "修改userWalletInfo信息请求")
public class UpdateUserWalletInfoReqVO {

    @ApiModelProperty("id")
    private Integer id;

    @NotNull(message = "用户id不能为null")
    @NotEmpty(message = "用户id不能为为空")
    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("公链名称")
    private String chainName;

    @ApiModelProperty("币种名称")
    private String coinName;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("私钥")
    private String privateKey;

    @ApiModelProperty("公钥")
    private String publicKey;

    @ApiModelProperty("可用余额")
    private BigDecimal avaliableBalance;

    @ApiModelProperty("冻结余额")
    private BigDecimal frozenBalance;

    @ApiModelProperty("今日盈利")
    private BigDecimal todayProfit;

    @ApiModelProperty("总计盈利")
    private BigDecimal totalProfit;

    @ApiModelProperty("点卡余额")
    private BigDecimal pointBalance;

    @ApiModelProperty("激活状态")
    private Integer activeStatus;

    @ApiModelProperty("激活剩余有效天数")
    private Integer activeRestTime;

    @ApiModelProperty("盐值")
    private String salt;

    @ApiModelProperty("该用户的点卡扣除比例")
    private BigDecimal myPointRatio;

    @ApiModelProperty("分成等级")
    private String rebateLevel;

    @ApiModelProperty("分成比例")
    private BigDecimal rebateRatio;

    @ApiModelProperty("下级用户总盈利")
    private BigDecimal subUserTotalProfit;

}
